package com.meeruu.sg.account.core.domain.util;


import com.meeruu.sg.account.core.api.exception.AccountException;

/**
 * @Auther: liwu
 * @Date: 2019/5/15 14:07
 * @Description:
 */
public class AssertUtils {


    public static void isTrue(boolean match, int code,String message) {
        if (match) {
            throw new AccountException(code,message);
        }
    }

}
